package main

import (
	"srv-server/basic/config"
	"srv-server/basic/global"
	"srv-server/basic/inits"
	"srv-server/handler/model"
)

func main() {
	config.GetViperData()
	inits.InitAll()
	for i := 0; i < 1000; i++ {
		var u model.User
		u = model.User{

			UserName: "a",
			Status:   1,
		}
		global.DB.Create(&u)

	}

}
